package com.lvtulife.paas.gtd.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.lvtulife.common.entity.BaseEntity;

import java.util.Date;

/**
 *
 * 习惯重复规则表
 *
 */
@TableName("gtd_habit_rule")
public class GtdHabitRule extends BaseEntity {

	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	/** 重复：0一次性活动；1每天；2每个工作日；3每周；4每月；5每季度；6每年；7每年农历 */
	private Integer repeatType;

	/** 重复条件：0无重复；1无限重复；2截止至某个日期；3限定次数 */
	private Integer repeatRestrict;

	/** 重复限定次数 */
	private Integer expiryTimes;

	/** 重复截止日期类型：0公历；1农历 */
	private Integer expiryDtType;

	/** 重复截止日期 */
	private Date expiryDt;


	public Integer getRepeatType() {
		return this.repeatType;
	}

	public void setRepeatType(Integer repeatType) {
		this.repeatType = repeatType;
	}

	public Integer getRepeatRestrict() {
		return this.repeatRestrict;
	}

	public void setRepeatRestrict(Integer repeatRestrict) {
		this.repeatRestrict = repeatRestrict;
	}

	public Integer getExpiryTimes() {
		return this.expiryTimes;
	}

	public void setExpiryTimes(Integer expiryTimes) {
		this.expiryTimes = expiryTimes;
	}

	public Integer getExpiryDtType() {
		return this.expiryDtType;
	}

	public void setExpiryDtType(Integer expiryDtType) {
		this.expiryDtType = expiryDtType;
	}

	public Date getExpiryDt() {
		return this.expiryDt;
	}

	public void setExpiryDt(Date expiryDt) {
		this.expiryDt = expiryDt;
	}

}
